package com.guzipi.websocketdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class Home {
    @RequestMapping(value = "/home")
    public @ResponseBody String home() {
        return "Hello World!";
    }
}
